from django import forms


class UserForm(forms.Form):
    phone = forms.CharField(min_length=11, max_length=11, error_messages={
        "手机格式不正确"
    })
    password = forms.CharField(min_length=6, max_length=50, error_messages={
        "密码格式不正确"
    })
